package com.qiaofang.applet.service.other.service.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author: youqing.yang
 * @Create: 2020/11/10 11:10
 * @Description:
 **/
@ApiModel("集团数据保存参数")
@Data
public class CountSynDataDto {

    @ApiModelProperty("集团code")
    @NotNull(message = "集团code不能为空")
    private String corporationCode;

    @ApiModelProperty("公司uuid")
    @NotNull(message = "公司uuid不能为空")
    private String companyUuid;

    @ApiModelProperty("城市code")
    @NotNull(message = "城市code不能为空")
    private String cityCode;

    @ApiModelProperty("同步类型")
    @NotNull(message = "同步类型不能为空")
    private String synchronousType;

    @ApiModelProperty("更新时间")
    @NotNull(message = "更新时间不能为空")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

}
